package Interface.base.demo4;

public class InnerClassValue {
    // 内部类
    // 内部类分为静态内部类和非静态内部类
    static class ClassValue1{
        private int number1;

        public int getNumber1() {
            return number1;
        }

        public void setNumber1(int number1) {
            this.number1 = number1;
        }

        public int getNumber2() {
            return number2;
        }

        public void setNumber2(int number2) {
            this.number2 = number2;
        }

        private int number2;
    }
    class ClassValue2 {
        private int number2;
        private int number3;
    }
}
